package main

import(
	"fmt"
	"code/go-project-01/unit10/demo07/model"
)

func main() {
	var stu model.Student = model.Student {"张三", 18}
	fmt.Println(stu)

	stu2 :=  model.Student {"张三", 18}
	fmt.Println(stu2)
	
	// 工程模式
	teacher := model.NewTeacher("张三", 18)
	fmt.Println(*teacher)
}